package com.hdu.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("delay-task-config")
public class DelayTaskConfig {
    private String dbName;
    private String dbIp;
    private String dbPort;
    private String dbUserName;
    private String dbPassword;
    private String redisIp;
    private int redisPort;
    private String redisPassword;

    // 每次补充未来几分钟的任务？
    private int supplementTaskMinute = 2;
}